@layout("/common/_container.html"){
<div class="row">
    <div class="col-sm-12">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>课程管理v1.0</h5>
            </div>
            <div class="ibox-content">
                <div class="row row-lg">
                    <div class="col-sm-12">
                        <div class="row">
                            <div class="col-sm-2">
                                <#clmInput id="teacherName" name="教师名称" />
                            </div>
                            <div class="col-sm-2">
                               <#clmSelect id="orgProvinceCode" name="教师就职省" >
	                               <option value=""></option>
	                               @for(item in provinceList){
				                        <option value="${item.provinceCode}">${item.provinceName}</option>
				                    @}
								</#clmSelect>
                            </div>
                            <div class="col-sm-2">
                               <#clmSelect id="orgCityCode" name="教师就职市" >
                               		<option value=""></option>
	                              
								</#clmSelect>
                            </div>
                            <div class="col-sm-3">
                               <#clmSelect id="orgAreaCode" name="教师就职区/县" >
                               		<option value=""></option>
								
								</#clmSelect>
                            </div>
                            <div class="col-sm-3">
                               <#clmSelect id="schoolId" name="教师就职学校" >
                               		<option value=""></option>
									
								</#clmSelect>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-sm-2">
                                <#clmInput id="number" name="课程编号" />
                            </div>
                            <div class="col-sm-2">
                                <#clmInput id="subject" name="课程名称" />
                            </div>
                            <div class="col-sm-2">
                               <#clmSelect id="liveType" name="课程类型">
                               		<option value=""></option>
									<option value="home_and_school">家校互通</option>
									<option value="more_school">一校带多校</option>
									<option value="live_teach">直播教研</option>
								</#clmSelect>
                            </div>
                            <div class="col-sm-2">
                               <#clmSelect id="publicScope" name="公开范围" >
                               		<option value=""></option>
									<option value="class_public">班级公开</option>
									<option value="grade_public">年级公开</option>
									<option value="school_public">本校公开</option>
									<option value="area_public">本区/县公开</option>
									<option value="all_public">完全公开</option>
								</#clmSelect>
                            </div>
                            <div class="col-sm-2">
                               <#clmSelect id="courseCode" name="课程科目">
                               		<option value=""></option>
									@for(item in subjectList){
				                        <option value="${item.courseCode}">${item.courseName}</option>
				                    @}
								</#clmSelect>
                            </div>
                            <div class="col-sm-2">
                               <#clmSelect id="roomStatus" name="课程状态">
                               		<option value="0">全部</option>
									<option value="1">正在直播/即将开始</option>
									<option value="2">已结束</option>
								</#clmSelect>
                            </div>
                        </div>
                                           
                        <div class="row">
                        <div class="form-group">
					    	<!-- <label class="col-sm-12 control-label"></label> -->
					    	</br>
                            <div class="col-lg-2 col-sm-4">
								<#TimeCon id="startDate1" name="起始时间" isTime="true" pattern="YYYY-MM-DD hh:mm:ss"/>
							</div>
							<div class="col-lg-2 col-sm-4">
								<#TimeCon id="endDate1" name="结束时间" isTime="true" pattern="YYYY-MM-DD hh:mm:ss"/>
							</div>
							<div class="col-sm-4">
                                <#button name="搜索" icon="fa-search" clickFun="ClmRoom.search()"/>
                                <#button name="重置" icon="fa-trash" clickFun="ClmRoom.resetSearch()" space="true"/>
                            </div>
					    </div>
                        </div>
                        <div class="hidden-xs" id="ClmRoomTableToolbar" role="group">
                            @if(shiro.hasPermission("/clmRoom/detail")){
                                <#button name="查看" icon="fa-edit" clickFun="ClmRoom.openClmRoomLook()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/clmRoom/update")){
                                <#button name="修改" icon="fa-edit" clickFun="ClmRoom.openClmRoomDetail()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/clmRoom/delete")){
                                <#button name="删除" icon="fa-remove" clickFun="ClmRoom.delete()" space="true"/>
                            @}
                        </div>
                        <#table id="ClmRoomTable"/>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/clm/clmRoom/clmRoom.js"></script>
@}
